'use strict'; //严格模式

const Mysql = require('node-mysql-promise');

const db = Mysql.createConnection({
    host:"localhost",
    user:"root",
    password:"root",
    database:"student",
    charset:"utf8",
    tablePrefix:"pre_",
    logSql:true //在控制台输出sql语句
});


module.exports = db;